
package com.shycloud.mido.opter.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@TableName("opt_operator")
@EqualsAndHashCode(callSuper = true)
public class OptOperator extends Model<OptOperator> {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	private String name;
	private String tag;
	private String province;
	private String city;
	private String area;
	private String address;
	private String phone;
	private String introduce;
	private BigDecimal margin;
	private String status;
	private String isAlone;
	/** 级别(0:市级; 1:省级) */
	private String rank;
	private String openTime;
	private Integer parent;
	private String payMethods;
	private String endTime;
	private String leader;
	private String fileUrl;
	private String contact;
	private String alipay;
	private String alipayName;
	private String qrcodeUrl;

	@TableField(value = "online_course_avail")
	private Integer onlineCourseAvail;
	private String wxQrcodeUrl;
	/** 预存未结 */
	private Integer unPreStorageCount;
}